#ifndef CURVEDIALOG_H
#define CURVEDIALOG_H

#include <QtGui>
#include <QWidget>
#include <QTabWidget>
#include <QProgressBar>
#include "mainwindow.h"
#include "qvector.h"
class CurveWidget;
namespace Ui {
    class CurveDialog;
}

class CurveDialog : public QTabWidget
{
    Q_OBJECT

public:
    explicit CurveDialog(QWidget *parent = 0);
    ~CurveDialog();
    void setPWData(const vector<double> & pw);

private:
    Ui::CurveDialog *ui;
    CurveWidget *curveWidget;
    QLabel *curveLabel;
    QProgressBar *progress;
};

#endif // CURVEDIALOG_H
